package com.lechi.web.system.mapper.iot;


import com.lechi.web.system.domain.IotSensorGroupBo;

import java.util.List;

/**
 * 传感器分组组Mapper接口
 *
 * @author yangguang
 * @date 2024-03-20
 */
public interface IotSensorGroupMapper {
    /**
     * 查询传感器分组组
     *
     * @param id 传感器分组组主键
     * @return 传感器分组组
     */
    IotSensorGroupBo selectIotSensorGroupById(Long id);

    /**
     * 查询传感器分组组列表
     *
     * @param iotSensorGroupBo 传感器分组组
     * @return 传感器分组组集合
     */
    List<IotSensorGroupBo> selectIotSensorGroupList(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 新增传感器分组组
     *
     * @param iotSensorGroupBo 传感器分组组
     * @return 结果
     */
    int insertIotSensorGroup(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 修改传感器分组组
     *
     * @param iotSensorGroupBo 传感器分组组
     * @return 结果
     */
    int updateIotSensorGroup(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 删除传感器分组组
     *
     * @param id 传感器分组组主键
     * @return 结果
     */
    int deleteIotSensorGroupById(Long id);

}
